首页

欢迎

 

Welcome

欢迎来到这里, 这是一个学习数学、讨论数学的网站.

转到问题

请输入问题号, 例如: 2512

IMAGINE, THINK, and DO
How to be a scientist, mathematician and an engineer, all in one?
--- S. Muthu Muthukrishnan

Local Notes

Local Notes 是一款 Windows 下的笔记系统.

Local Notes 下载

Sowya

Sowya 是一款运行于 Windows 下的计算软件.

详情

下载 Sowya.7z (包含最新版的 Sowya.exe and SowyaApp.exe)


注: 自 v0.550 开始, Calculator 更名为 Sowya. [Sowya] 是吴语中数学的发音, 可在 cn.bing.com/translator 中输入 Sowya, 听其英语发音或法语发音.





注册

欢迎注册, 您的参与将会促进数学交流. 注册

在注册之前, 或许您想先试用一下. 测试帐号: usertest 密码: usertest. 请不要更改密码.


我制作的 slides

Problem

随机显示问题

Problèmes d'affichage aléatoires

软件 >> Linux >> Xubuntu
Questions in category: Xubuntu (Xubuntu).

如何在Xubuntu中添加PPA (Personal Package Archives)

Posted by haifeng on 2017-10-10 08:48:12 last update 2017-10-10 09:23:33 | Answers (0)


 

sudo add-apt-repository ppa:ubuntugis/ppa
sudo apt-get update

 

haifeng@X220i:~$ sudo add-apt-repository ppa:ubuntugis/ppa
[sudo] haifeng 的密码:
 Official stable UbuntuGIS packages.


 更多信息: https://launchpad.net/~ubuntugis/+archive/ubuntu/ppa
按回车继续或者 Ctrl+c 取消添加

gpg: 钥匙环‘/tmp/tmpncw1rcwr/secring.gpg’已建立
gpg: 钥匙环‘/tmp/tmpncw1rcwr/pubring.gpg’已建立
gpg: 下载密钥‘314DF160’,从 hkp 服务器 keyserver.ubuntu.com
gpg: /tmp/tmpncw1rcwr/trustdb.gpg:建立了信任度数据库
gpg: 密钥 314DF160:公钥“Launchpad ubuntugis-stable”已导入
gpg: 合计被处理的数量:1
gpg:               已导入:1  (RSA: 1)
OK
haifeng@X220i:~$

haifeng@X220i:~$ sudo apt-get update

命中:1 http://cn.archive.ubuntu.com/ubuntu xenial InRelease
命中:2 http://cn.archive.ubuntu.com/ubuntu xenial-updates InRelease            
命中:3 http://cn.archive.ubuntu.com/ubuntu xenial-backports InRelease          
获取:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]    
获取:5 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial InRelease [23.8 kB]
获取:6 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [60.2 kB]
获取:7 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial/main amd64 Packages [42.9 kB]
获取:8 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [57.6 kB]
获取:9 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [49.2 kB]
获取:10 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [69.8 kB]
获取:11 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial/main i386 Packages [43.0 kB]
获取:12 http://ppa.launchpad.net/ubuntugis/ppa/ubuntu xenial/main Translation-en [17.4 kB]
已下载 466 kB,耗时 9秒 (48.5 kB/s)                                            
正在读取软件包列表... 完成
haifeng@X220i:~$

haifeng@X220i:/etc/apt/sources.list.d$ ls
fcitx-team-ubuntu-nightly-xenial.list  ubuntugis-ubuntu-ppa-xenial.list.save
ubuntugis-ubuntu-ppa-xenial.list

 


References:

https://launchpad.net/~ubuntugis/+archive/ubuntu/ppa

 


如何删除PPA

sudo add-apt-repository --remove ppa:PPA_Name/ppa

 

实验过程

haifeng@X220i:~$ sudo add-apt-repository --remove ppa:fcitx-team/nightly
 Experimental releases of Fcitx, use with caution.
 更多信息: https://launchpad.net/~fcitx-team/+archive/ubuntu/nightly
按 [ENTER] 可继续操作,按 ctrl-c 可取消其删除操作

haifeng@X220i:~$

 

References:

https://itsfoss.com/how-to-remove-or-delete-ppas-quick-tip/